using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN KhoaEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: KhoaEntity</para>
	/// <para>Description: ClassKhoaEntity store data of table Khoa</para>
	///</summary>

	[DataContract]
	public partial class KhoaEntity{


		private bool _InternalChangedIsNullKhoa_ID=true;
		private bool _IsNullKhoa_ID=true;
		private bool _InternalChangedIsNullMaKhoa=true;
		private bool _IsNullMaKhoa=true;
		private bool _InternalChangedIsNullTenKhoa=true;
		private bool _IsNullTenKhoa=true;
		private bool _InternalChangedIsNullMoTaKhoa=true;
		private bool _IsNullMoTaKhoa=true;
		private int _Khoa_ID;
		private string _MaKhoa;
		private string _TenKhoa;
		private string _MoTaKhoa;
		[DataMember]
		public bool IsNullKhoa_ID{
			get{return _IsNullKhoa_ID;}
			set{if(!_InternalChangedIsNullKhoa_ID)_IsNullKhoa_ID=value;}
		}
		[DataMember]
		public bool IsNullMaKhoa{
			get{return _IsNullMaKhoa;}
			set{if(!_InternalChangedIsNullMaKhoa)_IsNullMaKhoa=value;}
		}
		[DataMember]
		public bool IsNullTenKhoa{
			get{return _IsNullTenKhoa;}
			set{if(!_InternalChangedIsNullTenKhoa)_IsNullTenKhoa=value;}
		}
		[DataMember]
		public bool IsNullMoTaKhoa{
			get{return _IsNullMoTaKhoa;}
			set{if(!_InternalChangedIsNullMoTaKhoa)_IsNullMoTaKhoa=value;}
		}
		[DataMember]
		public int Khoa_ID{
			get{return _Khoa_ID;}
			set{
				_Khoa_ID=value;
				if(_Khoa_ID!=null){
					_IsNullKhoa_ID=false;
					_InternalChangedIsNullKhoa_ID=true;
				}
			}
		}
		[DataMember]
		public string MaKhoa{
			get{return _MaKhoa;}
			set{
				_MaKhoa=value;
				if(_MaKhoa!=null){
					_IsNullMaKhoa=false;
					_InternalChangedIsNullMaKhoa=true;
				}
			}
		}
		[DataMember]
		public string TenKhoa{
			get{return _TenKhoa;}
			set{
				_TenKhoa=value;
				if(_TenKhoa!=null){
					_IsNullTenKhoa=false;
					_InternalChangedIsNullTenKhoa=true;
				}
			}
		}
		[DataMember]
		public string MoTaKhoa{
			get{return _MoTaKhoa;}
			set{
				_MoTaKhoa=value;
				if(_MoTaKhoa!=null){
					_IsNullMoTaKhoa=false;
					_InternalChangedIsNullMoTaKhoa=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END KhoaEntityBase*****************************************/
	/*****************************************************************************************************/
}

